import zodToJsonSchema from "zod-to-json-schema";
import { z } from "zod";

var jsonSchema = zodToJsonSchema(
	z.object({
		sql: z.string({ description: "待执行SQL语句", required_error: '没有待执行的SQL语句' })
	}), {
	strictUnions: true,
});

console.log(jsonSchema);

